<%= @notice %>
<%= form_for @operator,url: '/admin/login',html: {class: 'form-signin'} do |f| %>
    <h2 class="form-signin-heading">Please sign in</h2>
    <label for="operator_name" class="sr-only">Email address</label>
    <%= f.text_field :name, class: 'form-control',placeholder: 'Enter name',required: true,autofocus:true %>
    <label for="operator_passwd" class="sr-only">Password</label>
    <%= f.password_field :passwd ,class: 'form-control',placeholder: 'Enter passwd',required: true %>
    <div class="checkbox">
      <label>
        <input value="remember-me" type="checkbox"> Remember me
      </label>
    </div>
    <%= f.button "Sign in",class: 'btn btn-lg btn-primary btn-block',type: :submit %>
<% end %>
